import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

const serviceName = '/sjsk-crowmanage-service'
/*-----------社戒社康人员管理-----------*/
// 机构列表
const pageNewMech = (params) => postAction(`${serviceName}/sjskMechTeacher/pageNewMech`, params)
const addMech = (params) => postAction(`${serviceName}/sjskMechTeacher/addMech`, params)
const viewMech = (params) => postAction(`${serviceName}/sjskMechTeacher/viewMech`, params)
const delMech = (params) => postAction(`${serviceName}/sjskMechTeacher/delMech`, params)
// 咨询师列表
const viewMechTeacherList = (params) => postAction(`${serviceName}/sjskMechTeacher/viewMechTeacherList`, params)
// 详情
const viewMechTeacherDetails = (params) => postAction(`${serviceName}/sjskMechTeacher/viewMechTeacherDetails`, params)
// 删除咨询师
const delMechTeacher = (params) => postAction(`${serviceName}/sjskMechTeacher/delMechTeacher`, params)
// 添加咨询师
const addMechTeacher = (params) => postAction(`${serviceName}/sjskMechTeacher/addMechTeacher`, params)


export {
  pageNewMech,
  addMech,
  viewMech,
  delMech,
  viewMechTeacherList,
  viewMechTeacherDetails,
  delMechTeacher,
  addMechTeacher
}
